// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import store from './store'
import Axios from 'util/axios'
import * as filters from 'util/filter/filter'
import Rem from './assets/js/fontSize'
import './font/iconfont.css'
import './assets/css/border.css'
import './assets/css/publicStyle.css'

Rem.remRefontsize(window, document)
Vue.config.productionTip = false
const _axios = new Axios()
Vue.prototype._axios = _axios
Object.keys(filters).forEach(key => {
  Vue.filter(key, filters[key])
})

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})
